package top.caozj.util.impl;

import top.caozj.conf.AppConfig;
import top.caozj.pojo.RawData;
import top.caozj.util.NoDataPolicy;

public class FixedValue implements NoDataPolicy {
    private static Double fixedValue = AppConfig.fixedValue;
    @Override
    public void processNoData(RawData data) {
        data.setValue(fixedValue.toString());
    }

    @Override
    public String toString() {
        return "fixed:"+fixedValue;

    }
}
